
package org.apache.solr.core;

import java.io.File;
import java.io.IOException;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.SimpleFSDirectory;

/**
 * Factory to instantiate {@link org.apache.lucene.store.SimpleFSDirectory}
 *
 *
 */
public class SimpleFSDirectoryFactory extends CachingDirectoryFactory {

    @Override
    protected Directory create(String path) throws IOException {
        return new SimpleFSDirectory(new File(path));
    }
}
